<template>
 <div id="container" ref="main" style="width: 1000px; height: 600px"></div>
</template>
<script>

import * as echarts from "echarts";

//2 加载echarts 百度扩展
import "echarts/dist/extension/bmap"
export default {
  name: 'bmapDome',
  components: {},
  props: {},
  data () {
    return {
    }
  },
  coumputed: {},
  watch: {},
  created () {},
  mounted () {
    //   纯地图
      var map = new window.BMapGL.Map("container");
      var point = new window.BMapGL.Point(116.404, 39.915);
      map.centerAndZoom(point, 11); 
  },
  methods: {}
}
</script>
<style lang="less" scoped>
</style>
